package com.jxd.entity;

public class SelectionMess implements Comparable<SelectionMess> {
    //当前报文的唯一标识
    private String mesSignId;
    //报文时间
    private String mesDate;
    //报文详细时间
    private  String mesTime;
    //工作模式
    private String SelectionMess;
    //设备名称
    private String sendDevice;

    public String getMesSignId() {
        return mesSignId;
    }

    public void setMesSignId(String mesSignId) {
        this.mesSignId = mesSignId;
    }

    public String getMesDate() {
        return mesDate;
    }

    public void setMesDate(String mesDate) {
        this.mesDate = mesDate;
    }

    public String getMesTime() {
        return mesTime;
    }

    public void setMesTime(String mesTime) {
        this.mesTime = mesTime;
    }

    public String getSelectionMess() {
        return SelectionMess;
    }

    public void setSelectionMess(String selectionMess) {
        SelectionMess = selectionMess;
    }

    public String getSendDevice() {
        return sendDevice;
    }

    public void setSendDevice(String sendDevice) {
        this.sendDevice = sendDevice;
    }

    @Override
    public String toString() {
        return "SelectionMess{" +
                "mesSignId='" + mesSignId + '\'' +
                ", mesDate='" + mesDate + '\'' +
                ", mesTime='" + mesTime + '\'' +
                ", SelectionMess='" + SelectionMess + '\'' +
                ", sendDevice='" + sendDevice + '\'' +
                '}';
    }

    @Override
    public int compareTo(com.jxd.entity.SelectionMess o) {
        return
                Integer.valueOf(this.getMesSignId())
                        .compareTo
                                (Integer.valueOf(o.getMesSignId()));
    }
}
